package net.maku.events.service;

import net.maku.framework.mybatis.service.BaseService;
import net.maku.events.vo.ActivityContestQuestionVO;
import net.maku.events.entity.ActivityContestQuestionEntity;

import java.util.List;

/**
 * 竞赛答题
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2025-03-22
 */
public interface ActivityContestQuestionService extends BaseService<ActivityContestQuestionEntity> {

    void save(Long businessId, Integer businessType, List<ActivityContestQuestionVO> vo);

    void delete(Integer businessType, List<Long> businessIdList);

    List<ActivityContestQuestionVO> findByBusinessIdList(List<Long> businessIdList, Integer businessType);

    List<ActivityContestQuestionVO> findByQuestionIdList(List<Long> questionIdList);
}